<div th:fragment="incNavBar" class="layui-header okadmin-header">
    <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item">
            <a class="ok-menu ok-show-menu" href="javascript:" title="菜单切换">
                <i class="layui-icon layui-icon-shrink-right"></i>
            </a>
        </li>
        <li th:if="${sysUser.id == 0}" class="layui-nav-item sysModelLi" mid="0">
            <button class="layui-btn layui-btn-radius layui-btn-sm layui-btn-normal">超级权限</button>
        </li>
        <li th:each="item,itemStat:${sysModels}" class="layui-nav-item sysModelLi" th:mid="${item.id}">
            <button class="layui-btn layui-btn-warm layui-btn-radius layui-btn-sm ">[[${item.modelName}]]</button>
        </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item">
            <a id="refresh" class="ok-refresh" href="javascript:;" title="刷新">
                <i class="layui-icon layui-icon-refresh-3"></i>
            </a>
        </li>
        <li class="no-line layui-nav-item layui-hide-xs">
            <a id="notice" class="flex-vc pr10 pl10" href="javascript:">
                <i class="ok-icon ok-icon-notice icon-head-i" title="系统公告"></i>
                <span class="layui-badge-dot"></span>
                <cite></cite>
            </a>
        </li>
        <li class="no-line layui-nav-item layui-hide-xs">
            <a id="lock" class="flex-vc pr10 pl10" href="javascript:">
                <i class="ok-icon ok-icon-lock icon-head-i" title="锁屏"></i><cite></cite>
            </a>
        </li>
        <!-- 全屏 -->
        <li class="layui-nav-item layui-hide-xs">
            <a id="fullScreen" class=" pr10 pl10" href="javascript:;">
                <i class="layui-icon layui-icon-screen-full"></i>
            </a>
        </li>
        <li class="no-line layui-nav-item">
            <a href="javascript:">
                <img src="/static/okadmin/images/avatar.png" class="layui-nav-img">[[${sysUser.userNick}]]
            </a>
            <dl id="userInfo" class="layui-nav-child">
                <dd><a lay-id="u-1" href="javascript:" data-url="pages/member/user.html">个人中心<span class="layui-badge-dot"></span></a></dd>
                <dd><a lay-id="u-2" href="javascript:" data-url="pages/member/user-info.html">基本资料</a></dd>
                <dd><a lay-id="u-3" href="javascript:" data-url="/password/change">安全设置</a></dd>
                <dd>
                    <hr/>
                </dd>
                <dd><a href="javascript:void(0)" id="logout">退出登录</a></dd>
            </dl>
        </li>
        <!-- 菜单 -->
        <li class="layui-nav-item layui-hide-xs">
            <a id="okSetting" class="pr10 pl10" href="javascript:;">
                <i style="font-size: 18px" class="ok-icon ok-icon-moreandroid"></i>
            </a>
        </li>
    </ul>
</div>
